package cn.ycc1.boot3distribution.service;

import lombok.Data;

/**
 * @author ycc
 * @date 2023/12/10
 */
@Data
public class DistributionListDto {
    /**
     * id
     */
    private Long id;

    /**
     * 会员ID
     */
    private Integer userId;

    /**
     * 父级会员ID
     */
    private Integer parentId;

    /**
     * 会员等级名称
     */
    private String rankLabel;

    /**
     * 会员等级code
     */
    private String rankValue;

    /**
     * 根节点链条标识
     */
    private Integer rootUid;

    public DistributionListDto(Long id, Integer userId, Integer parentId, String rankLabel, String rankValue, Integer rootUid) {
        this.setId(id);
        this.setUserId(userId);
        this.setParentId(parentId);
        this.setRankLabel(rankLabel);
        this.setRankValue(rankValue);
        this.setRootUid(rootUid);
    }
}
